package com.wust.supermarket.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.sql.Timestamp;

@Getter
@Setter
@ToString
/**
 * 入库表
 */
public class Instock {
    /**
     * 入库id
     */
    private String instockId;

    /**
     * 入库商品
     */
    private Merch merch;

    /**
     * 商品供应商
     */
    private Provider provider;

    /**
     * 入库数量
     */
    private int number;

    /**
     * 商品入库单价
     */
    private float price;

    /**
     * 商品入库总价
     */
    private float totalPrice;

    /**
     * 添加时间
     */
    private Timestamp createTime;

    /**
     * 更新时间
     */
    private Timestamp updateTime;
}
